Two functions can be used to subset projections objects. The operator "[" can
be used as for matrices, using the syntax x[i,j]
where 'i' is a subset
of dates, and 'j' is a subset of simulations.
# S3 method for projections
[(x, i, j)# S3 method for projections
subset(x, ..., from = NULL, to = NULL, sim = TRUE)
An projections object, generated by the function
project
.
a subset of dates to retain
a subset of groups to retain
Further arguments passed to other methods (not used).
The starting date; data strictly before this date are discarded.
The ending date; data strictly after this date are discarded.
(optional) The simulations to retained, indicated as subsets of the columns of x.
Thibaut Jombart thibautjombart@gmail.com
The project
function to generate the 'projections'
objects.